﻿/***********************************************************************
 * <copyright file="JournalEntryAccount.cs" company="BUCA JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   ThangND
 * Email:    thangnd@buca.vn
 * Website:
 * Create Date: 20 March 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System;
using System.Runtime.Serialization;
using BusinessObjects;
using BusinessObjects.BusinessRules;

namespace AcountingService.DataTransferObjects.Voucher
{
    /// <summary>
    /// 
    /// </summary>
     [DataContract(Namespace = "http://www.yourcompany.com/types/")]
    public class JournalEntryAccountDto : BusinessObject 
    {
        

        /// <summary>
        /// Gets or sets the journal entry identifier.
        /// </summary>
        /// <value>
        /// The journal entry identifier.
        /// </value>
       [DataMember]
         public long JournalEntryId { get; set; }

        /// <summary>
        /// Gets or sets the reference identifier.
        /// </summary>
        /// <value>
        /// The reference identifier.
        /// </value>
         [DataMember]
         public long RefId { get; set; }

        /// <summary>
        /// Gets or sets the reference detail identifier.
        /// </summary>
        /// <value>
        /// The reference detail identifier.
        /// </value>
         [DataMember]
         public long RefDetailId { get; set; }

        /// <summary>
        /// Gets or sets the reference type identifier.
        /// </summary>
        /// <value>
        /// The reference type identifier.
        /// </value>
        [DataMember]
         public int RefTypeId { get; set; }

        /// <summary>
        /// Gets or sets the reference no.
        /// </summary>
        /// <value>
        /// The reference no.
        /// </value>
       [DataMember]
         public string RefNo { get; set; }

        /// <summary>
        /// Gets or sets the reference date.
        /// </summary>
        /// <value>
        /// The reference date.
        /// </value>
       [DataMember]
         public DateTime RefDate { get; set; }

       

        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>
        /// The description.
        /// </value>
       [DataMember]
         public string Description { get; set; }

        

        /// <summary>
        /// Gets or sets the account number.
        /// </summary>
        /// <value>
        /// The account number.
        /// </value>
        [DataMember]
         public string AccountNumber { get; set; }

        /// <summary>
        /// Gets or sets the corresponding account number.
        /// </summary>
        /// <value>
        /// The corresponding account number.
        /// </value>
        [DataMember]
         public string CorrespondingAccountNumber { get; set; }

        /// <summary>
        /// Gets or sets the quantity.
        /// </summary>
        /// <value>
        /// The quantity.
        /// </value>
         [DataMember]
         public int Quantity { get; set; }

        /// <summary>
        /// Gets or sets the type of the journal.
        /// </summary>
        /// <value>
        /// The type of the journal.
        /// </value>
         [DataMember]
         public int JournalType { get; set; }

        /// <summary>
        /// Gets or sets the amount oc.
        /// </summary>
        /// <value>
        /// The amount oc.
        /// </value>
         [DataMember]
         public decimal AmountOc { get; set; }

       

        /// <summary>
        /// Gets or sets the customer identifier.
        /// </summary>
        /// <value>
        /// The customer identifier.
        /// </value>
       [DataMember]
         public int? CustomerId { get; set; }

        /// <summary>
        /// Gets or sets the vendor identifier.
        /// </summary>
        /// <value>
        /// The vendor identifier.
        /// </value>
         [DataMember]
         public int? VendorId { get; set; }

        /// <summary>
        /// Gets or sets the voucher type identifier.
        /// </summary>
        /// <value>
        /// The voucher type identifier.
        /// </value>
          [DataMember]
         public int? VoucherTypeId { get; set; }

        /// <summary>
        /// Gets or sets the reference identifier.
        /// </summary>
        /// <value>
        /// The reference identifier.
        /// </value>
         [DataMember]
         public long UnitId { get; set; } 
    }
}